From d0f2898b91fe8fb2f58d96da6b52cf618b8d4e3b Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Sun, 21 Aug 2022 16:21:00 +0200
Subject: fix(projects): do not transform pre to Code component

Sometimes it is useful to display some preformatted data that are not
code.
---
 src/pages/projets/[slug].tsx | 1 -
 1 file changed, 1 deletion(-)

(limited to 'src/pages/projets/[slug].tsx')

diff --git a/src/pages/projets/[slug].tsx b/src/pages/projets/[slug].tsx
index 247f350..b396fc3 100644
--- a/src/pages/projets/[slug].tsx
+++ b/src/pages/projets/[slug].tsx
@@ -64,7 +64,6 @@ const ProjectPage: NextPageWithLayout<ProjectPageProps> = ({ project }) => {
     Gallery: (props) => <Gallery {...props} />,
     Image: (props) => <ResponsiveImage withBorders={true} {...props} />,
     Link: (props) => <Link {...props} />,
-    pre: ({ children }) => <Code {...children.props} />,
   };
 
   const { website } = useSettings();
-- 
cgit v1.2.3

